package io;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Li_DaChiZi
 * Date: 2025/7/4
 * Time: 12:41
 */
public class Demo15 {
    public static void main(String[] args) {
        try (Writer writer = new FileWriter("./test.txt",true)){
            writer.write("我是李小池");
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
